<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      //
      function fn(a, b, cb) {
        // a=1 b=2 cb=f1
        cb(a, b); // f1(a,b)
      }

      // const f1 = function (x, y) {
      //   console.log(x / y);
      // };
      fn(1, 2, function (x, y) {
        console.log(x / y);
      });
    </script>
  </body>
</html>
